<?php

namespace app\mini\model;

use app\admin\model\Common;
class CustomerPointGoodsBuy extends Common
{
    protected $name = 'customer_point_goods_buy';

    protected $createTime = 'created_at';

    protected $updateTime = 'updated_at';

    protected $autoWriteTimestamp = true;

    public function goods()
    {
        return $this->belongsTo(CustomerPointGoods::class,'point_goods_id','id');
    }
}
